  const getCateList = (id) => {
      $.getJSON(GLOBAL_cateListUrl, function(data) {

          let sectionOptionHtml = '<option value="">请选择</option>';
          $.each(data.result, (key, val) => {
              let option = `<option value=${val.cat_id}>${val.cat_name_zh}-${val.cat_name_en}</option>`;
              if(id == val.cat_id){
                  option = `<option value=${val.cat_id} selected>${val.cat_name_zh}-${val.cat_name_en}</option>`;
              }
              sectionOptionHtml += option;
          });

          $('#cate_id').html(sectionOptionHtml);
      });

  };
  export {
      getCateList
  }